

class Network(object):
    def __init__(self,size):
        self.num_layers=len(size)